﻿using System;
using System.Collections.Generic;
using System.Text;
using AspNetCs.Model;
using System.Data;

namespace AspNetCs.IDAL
{
    public interface IAdmin
    {

        /// <summary>
        /// 管理员登录
        /// </summary>
        /// <param name="Un"></param>
        /// <param name="pwd"></param>
        /// <returns></returns>
        int AdminLogin(Admin_Model model);
        /// <summary>
        /// 管理员资料
        /// </summary>
        /// <param name="dr"></param>
        /// <returns></returns>
        Admin_Model GetModel(DataRow dr);
        Admin_Model GetModel(int id);
    }
}
